package com.qyhl.webtv.module_user.setting.userinfo;


import com.qyhl.webtv.commonlib.entity.user.UserInfoBean;

/**
 * Created by qyhl on 2017/12/8.
 */

public interface UserInfoContract {
    interface UserInfoView {
        void headError(String msg);

        void headSuccess();

        void changeError(String msg);

        void changeSuccess();

        void userInfoSuccess(UserInfoBean bean);

        void userInfoError(String msg);
    }

    interface UserInfoPresenter {
        void upLoadHead(String logo);

        void changeInfo(String sex, String email, String nickName);

        void getUserInfo(String username);

        void headError(String msg);

        void headSuccess();

        void changeError(String msg);

        void changeSuccess();

        void userInfoSuccess(UserInfoBean bean);

        void userInfoError(String msg);
    }

    interface UserInfoModel {
        void upLoadHead(String logo);

        void changeInfo(String sex, String email, String nickName);

        void getUserInfo(String username);
    }
}
